package org.tote.service;

import org.tote.model.User;
import org.tote.model.UserLight;

/**
 * Service for operations with mail
 * 
 */
public interface MailBusinessService {

	/**
	 * Sends email to specified user after his registration, where he can see
	 * his unique token
	 * 
	 * @param user
	 *            - user send to
	 */
	public void sendPostRegistrationMail(User user, UserLight sender);

	/**
	 * Sends RestorePassword email to specified user.
	 * 
	 * @param user
	 *            user to send email to.
	 * 
	 */
	public void sendRestorePasswordMail(User user, String newPassword, UserLight sender);

}
